/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Name     : Chin Jin Sheng
 * Adm No   : 1032583
 * Class    : DIT/FT/1A/23
 */
package recursiontests.floodfill;

public class FloodFillMain extends FloodFill {

    public static void main(String[] args) {
        System.out.println("Recursion Program Example");
        // This is a comment.
        boolean[][] ba = new boolean[15][15];
        // Draw a border.
        for (int i = 0; i < ba.length; i++) {
            ba[0][i] = true;
            ba[i][0] = true;
            ba[ba.length - 1][i] = true;
            ba[i][ba.length - 1] = true;
            ba[10][i] = true;
            ba[i][10] = true;
        }
        System.out.println(gridToString(ba));
        System.out.println("\n\n\n\n");
        checkSquare(ba, 1, 5);
        System.out.println(gridToString(ba));
        

    }//main

} //class
